package cn.itsource.ymcc.domain.vo;

import cn.itsource.ymcc.annotate.Phone;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SmsVo {
    @NotBlank(message = "图片验证不能为空")
    private String imageCode;
    @NotBlank(message = "手机号不能为空")
    @Phone(message = "请输入正确的手机号")
    private String phone;
    @NotBlank(message = "参数异常，请联系管理员")
    private String imageKey;
}
